package com.gxa.pojo.zhy;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 赵贺益
 * Date: 2021/12/06 15:58
 * Description:
 * Version: V1.0
 */
@ApiModel(value = "修改权限的实体")
public class EditPermission {
    @ApiModelProperty(name = "role_id" ,notes = "角色的id",dataType = "Integer" ,required = true)
    private Integer role_id;
    @ApiModelProperty(name = "permissionList" ,dataType = "List", notes = "权限对应的id数组" ,required = true)
    private List<Integer> permissionList;

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public List<Integer> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<Integer> permissionList) {
        this.permissionList = permissionList;
    }

    @Override
    public String toString() {
        return "EditPermission{" +
                "role_id=" + role_id +
                ", permissionList=" + permissionList +
                '}';
    }

    public EditPermission(Integer role_id, List<Integer> permissionList) {
        this.role_id = role_id;
        this.permissionList = permissionList;
    }

    public EditPermission() {
    }
}
